﻿using System;
using System.Runtime.InteropServices;

namespace Vtron.LEDCorrective.Domain.LEDSender
{
    /// <summary>
    /// 颜色分量校正系数
    /// </summary>
    /// <remarks>
    //  颜色分量校正系数
    //  struct _scp_comp_adjust_coeff_t
    //  {
    //      u_int16_t		red;		
    //      u_int16_t		green;
    //      u_int16_t		blue;
    //  }PACKED;
    //  Typedef _scp_comp_adjust_coeff_t
    /// </remarks>
    [Serializable]
    [StructLayout(LayoutKind.Sequential, Pack = 1)]
    public struct SCP_COMP_ADJUST_COEFF_T
    {
        /// <summary>
        /// 红
        /// </summary>
        public UInt16 red;

        /// <summary>
        /// 绿
        /// </summary>
        public UInt16 green;

        /// <summary>
        /// 蓝
        /// </summary>
        public UInt16 blue;
    }
}
